//
//  DatabaseManager.h
//  iWeddingDirectory
//
//  Created by Tung Ngo on 6/1/12.
//  Copyright (c) 2012 Home. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Post.h"

@interface DatabaseManager : NSObject

+ (DatabaseManager *)sharedInstance;
- (void)createTablePosts;
- (void)addPost:(Post *)post;
- (void)removePost:(Post *)post;
- (NSArray *)getPosts;
- (BOOL)isPostExisted:(int)postId;

@end
